package com.example.experiment8.entity;


import java.io.Serializable;
import java.time.LocalDateTime;

import com.alibaba.fastjson.annotation.JSONField;

public class News implements Serializable {

    @JSONField(name = "date", format = "yyyy-MM-dd HH:mm")
    private LocalDateTime dateTime;

    @JSONField(name = "author_name")
    private String authorName;

    @JSONField(name = "thumbnail_pic_s")
    private String thumbnailPicS;

    @JSONField(name = "uniquekey")
    private String uniquekey;

    @JSONField(name = "title")
    private String title;

    @JSONField(name = "category")
    private String category;

    @JSONField(name = "url")
    private String url;

    public LocalDateTime getDateTime() {
        return dateTime;
    }

    public void setDateTime(LocalDateTime dateTime) {
        this.dateTime = dateTime;
    }

    public void setAuthorName(String authorName) {
        this.authorName = authorName;
    }

    public String getAuthorName() {
        return authorName;
    }

    public void setThumbnailPicS(String thumbnailPicS) {
        this.thumbnailPicS = thumbnailPicS;
    }

    public String getThumbnailPicS() {
        return thumbnailPicS;
    }

    public void setUniquekey(String uniquekey) {
        this.uniquekey = uniquekey;
    }

    public String getUniquekey() {
        return uniquekey;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTitle() {
        return title;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getCategory() {
        return category;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getUrl() {
        return url;
    }

}